﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Hotnet.Entity;

namespace Hotnet.Web.Utility
{
	/// <summary>
	/// news 大眼睛,注意数量一定为6个,因为目前的宽度支持六个,而且标签且为2个字.
	/// </summary>
	public class NewsRotatorControl
	{
		/// <summary>
		/// 标签
		/// key 标签名称
		/// value 链接的url
		/// </summary>
		public Tab[] Tabs
		{
			get;
			set;
		}

		/// <summary>
		/// 新闻
		/// </summary>
		public News[] News
		{
			get;
			set;
		}
	}

	public class Tab
	{
		public string TabName { get; set; }
		public string TabLink { get; set; }
	}
}
